package com.fxm.client;

import com.fxm.config.feign.StatisticFeignConfig;
import com.fxm.returns.RespEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;


/**
 * @author fxm
 * @version V1.0.0
 * @description: 统计模块 feign调用
 * @date 2021/02/24 11:23
 */
@FeignClient(name = "statisticFeignClient", url = "${manage.url}", configuration = StatisticFeignConfig.class)
public interface StatisticClient {

    /**
     * 答题积分统计
     * @return
     */
    @GetMapping("/statistic/integral")
    RespEntity integral();

    /**
     * 累计签到天数统计
     * @return
     */
    @GetMapping("/statistic/sign")
    RespEntity sign();

}
